home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / mint / editors / mjovesrc.zoo / tune.h < prev    next >
C/C++ Source or Header  |  1991-10-08  |  3KB  |  91 lines

  1. /***************************************************************************
  2.  * This program is Copyright (C) 1986, 1987, 1988 by Jonathan Payne.  JOVE *
  3.  * is provided to you without charge, and with no warranty.  You may give  *
  4.  * away copies of JOVE, including sources, provided that this notice is    *
  5.  * included in all the files.                                              *
  6.  ***************************************************************************/
  7.  
  8. #define TUNED        1    /* don't touch this */
  9.  
  10. #include "sysdep.h"
  11.  
  12. #ifdef    UNIX
  13. # define SUBPROCS    1    /* only on UNIX systems (NOT INCORPORATED YET) */
  14. # define IPROCS        1    /* interactive processes */
  15. # ifdef    BSD4_2
  16. #   define PTYPROCS    1    /* use pseudo-ttys */
  17. # else
  18. #   define PIPEPROCS    1    /* use pipes */
  19. # endif
  20. #endif    /* UNIX */
  21.  
  22. #define BACKUPFILES    1    /* enable the backup files code */
  23. #define F_COMPLETION    1    /* filename completion */
  24. #define ABBREV        1    /* word abbreviation mode */
  25.  
  26. #ifdef    UNIX
  27. # define ID_CHAR    1    /* include code to IDchar */
  28. /* # define WIRED_TERMS 1 */    /* include code for wired terminals */
  29. #endif
  30.  
  31. #define LISP        1    /* include the code for Lisp Mode */
  32. #define CMT_FMT        1    /* include the comment formatting routines */
  33.  
  34. #ifdef    UNIX
  35. /* Use the load average for various commands.
  36.  * Do not define LOAD_AV if you lack a load average
  37.  * system call and kmem is read protected.
  38.  */
  39. /* # define LOAD_AV    1 */
  40.  
  41. /* # define BIFF        1    if you have biff (or the equivalent) */
  42. # define SPELL        1    /* spell words and buffer commands */
  43. #endif
  44.  
  45. #define DFLT_MODE    0666    /* file will be created with this mode */
  46.  
  47. /* If the compiler does not support void, use -Dvoid=int or
  48.  * typedef int    void;
  49.  */
  50.  
  51. /* USE_PROTOTYPE must be defined for compilers that support prototypes
  52.  * but are NOT ANSI C, i.e. do not have __STDC__ == 1.
  53.  */
  54.  
  55. /* NO_PTRPROTO must be defined for compilers that support prototypes,
  56.  * but do NOT support prototypes for pointers to functions.
  57.  * It seems that some MSDOS and Mac compilers fall in this category.
  58.  */
  59. #ifdef    MSDOS
  60. # define NO_PTRPROTO 1
  61. #endif
  62.  
  63. #ifdef    MAC
  64. # define USE_PROTOTYPES    1
  65. # define NO_PTRPROTO    1
  66. #endif
  67.  
  68. /* These are here since they define things in tune.c.  If you add things to
  69.    tune.c, add them here too, if necessary. */
  70.  
  71. extern char
  72.     *d_tempfile,
  73.     *p_tempfile,
  74.     *Recover,
  75.     *Joverc,
  76.  
  77. #ifdef    PIPEPROCS
  78.     *Portsrv,
  79.     *Kbd_Proc,
  80. #endif
  81.  
  82. #ifdef    MSDOS
  83.     CmdDb[],
  84. #else
  85.     *CmdDb,
  86. #endif
  87.  
  88.     TmpFilePath[],
  89.     Shell[],
  90.     ShFlags[];
  91.